import { Column, Model, Table } from 'sequelize-typescript';

@Table
export class User extends Model<User> {
  @Column({ primaryKey: true })
  id: string

  @Column({})
  firstName: string;

  @Column({})
  lastName: string;

  @Column({ defaultValue: true })
  isActive: boolean;

  @Column({})
  createdAt?: string

  @Column({})
  updatedAt?: string;
}